//
//  BNHomeDetailViewModel.m
//  BNCodeGuide
//
//  Created by Mac on 2021/5/22.
//  Copyright © 2021 kevin007. All rights reserved.
//

#import "BNHomeDetailViewModel.h"

@implementation BNHomeDetailViewModel
- (void)requestDataWithCompletion:(RequestResponseHandler)handler {
    if (!handler) {return;}
    
    NSMutableArray *array = @[].mutableCopy;
    int i = 0;
    while (i < 50) {
        [array addObject:[NSString stringWithFormat:@"item-%d",i]];
        i++;
    }
    self.listDatas = array;
    handler(YES, nil);
    
}
@end
